package br.com.cast.PaginaWicket;

import org.apache.wicket.Component;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.link.Link;

public class Principal extends WebPage{
	public static final String CONTENT_ID = "contentComponent";

	private Component cabecalho;
	private Component menu;
	private Component rodape;


	public Principal(){
		add(cabecalho = new Cabecalho("cabecalho"));
		add(menu = new Menu("menu"));
		add(rodape = new Rodape("rodape"));
		add(new Label(CONTENT_ID, "Put your content here"));
	
	}

	protected Component getCabecalho() {
		return cabecalho;
	}
	
	
	protected Component getMenu() {
		return menu;
	}
	
	protected Component getRodape() {
		return rodape;
	}
}
